class Jerry {
    void g() {
    Tom cat = new Tom();
    cat.weight = 23f;       //非法
    float sum = cat.f(3,4); //非法
    }
}
